package com.srit.recipes.service;

import com.srit.recipes.common.response.JpaPage;
import com.srit.recipes.entity.CodeInfo;
import com.srit.recipes.entity.IngredientInfo;
import com.srit.recipes.entity.RecipesInfo;

import java.util.List;

public interface BaseService {
    List<CodeInfo> codeInfo();

    Object recipesInfo(JpaPage page, RecipesInfo recipesInfo);

    JpaPage scyy(JpaPage page, String name);

    List<IngredientInfo> recipesIngredient(String recipesId);

    Object recipesNutrition(JpaPage page, String name);

    Object nutritionStandard(JpaPage page, int type);
}
